﻿@{
    ViewBag.Title = "Home Page";
}
<script language="JavaScript1.1">
var slidespeed=3000
var slideimages=new Array()
var slidelinks=new Array("","","")
      slideimages[0] = "Content/images/hotpic01.jpg"
      slideimages[1] = "Content/images/hotpic02.jpg"
	  slideimages[2] = "Content/images/hotpic03.jpg"
	  slideimages[3] = "Content/images/hotpic04.jpg"
	  slideimages[4] = "Content/images/hotpic05.jpg"
	  slideimages[5] = "Content/images/hotpic06.jpg"
	  slideimages[6] = "Content/images/hotpic07.jpg"
	  slideimages[7] = "Content/images/hotpic08.jpg"
var newwindow=1 //open links in new window? 1=yes, 0=no
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}    
</script>
<table cellspacing="0" cellpadding="0" width="800" align="center" border="0" id="table">
        <tbody>
           <tr>
                <td width="650">
                <img id="slide" style="filter: blendTrans(duration=2)"height="272" src="Content/images/hotpic01.jpg"width="648"/></td>
                <script language="JavaScript1.1" type="text/javascript">
		<!--
                   var whichlink = 0
                   var whichimage = 0
                   var blenddelay = (ie) ? document.images.slide.filters[0].duration * 1000 : 0
                   function slideit() {
                       if (!document.images) return
                       if (ie) document.images.slide.filters[0].apply()
                       document.images.slide.src = imageholder[whichimage].src
                       if (ie) document.images.slide.filters[0].play()
                       whichlink = whichimage
                       whichimage = (whichimage < slideimages.length - 1) ? whichimage + 1 : 0
                       setTimeout("slideit()", slidespeed + blenddelay)
                   }
                   slideit()
		//-->
		</script>
           <td width="150"><div class="top"style="font-size: 18px;font-weight: bold;color: yellowgreen;">
                               最新公告:</div>
               <div class="content"id="notice"style="filter: blendTrans(duration2)"height="272"width="148">
                   @{Html.RenderAction("Index", "Notice");}
               </div></td>
               </tr>      
        </tbody>
</table>

@*<ul>
    <li><a href="http://demos.telerik.com/aspnet-mvc/">online demos</a></li>
    <li><a href="http://www.telerik.com/help/aspnet-mvc/introduction.html">online documentation</a></li>
    <li><a href="http://www.telerik.com/community/forums/aspnet-mvc.aspx">community forums</a></li>
    <li><a href="http://tv.telerik.com/products/aspnet-mvc">videos on Telerik TV</a></li>
</ul>*@
<script type="text/javascript">
    $("#topNav .navLeft a:eq(0)").addClass("now");
    $("div.tabs").tabs({
        event: "mouseover"
    });
    $(function () {
        $("#dialogNotice").dialog();
    });
</script>
